<!DOCTYPE html 
    PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
    
    <head>
        <title>Wrong data</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <style type="text/css">
            body {
                width: 40%;
                margin: 8em auto 8em auto;
                font-family: sans-serif;
            }
            
            div#status {
                font-size: smaller;
                color: #999;
                float: right;
                margin-top: 0.5em;
                margin-left: 2em;
            }
            
            h1 {
                color: #E15A00;
            }
        </style>
    </head>
    
    <body>
        <h1>Wrong data</h1>
        {{ form.non_field_errors }}
        <dl>
            {% for field in form %}
                {% if field.errors %}
                    <dt>{{ field.label }}</dt>
                    <dd>{{ field.errors }}</dt>
                {% endif %}
            {% endfor %}
        </dl>
    </body>
    
</html>
